<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<link rel="stylesheet" href="__HOME__/css/public.css" />
	<link rel="stylesheet" type="text/css" href="__HOME__/css/fabu.css"/>
	<script src="__HOME__/js/jquery.min.js"></script>
	<title>发布页面</title>
</head>
<body>
	<div class="wrap">
		
		<div class="header">
			<div class="header-l">
				<a href="javascript:history.back(-1)">
					<img src="__HOME__/images/top_arrowleft.png" alt="" />
				</a>
			</div>
			<p>发布</p>
		</div>
		<div class="row">
			<form action="{:url('fabuy')}" method="post">
				 <div class="input-field">
            		<label for="">店名：</label>
            		<input id="shopname" type="text" name="shopname" value="" placeholder="请输入店铺名">
        		</div>
        		
        		<div class="input-field">
            		<label for="">电话：</label>
            		<input id="phone" type="text" name="phone" value="" placeholder="请输入手机号">
        		</div>
        		
        		<div class="input-field">
            		<label for="">简介：</label>
            		<textarea rows="10" cols="30" name="intro"  placeholder="请输入简介内容"></textarea>
        		</div>
        		
        		<div class="tabr">
        			<input id="link" class="tab" type="submit"  value="发布" />
        			<input id="clear" class="tbb" type="button"  value="重置" />
        		</div>

			</form>
		</div>
	</div>
	
	
	
	<script>
		$(function(){
			$('#clear').click(function(){
				$('#shopname').val("");//当点击重置按钮时input框中的数据为空
				$('textarea').val("");//当点击重置按钮时textarea框中的数据为空
			})
			
			//$('#link').click(function(){
			//	window.history.back(-1);//当点击发布后跳转到上一页，也就是会员页
			//})
			
		})
	</script>
	
	
</body>
</html>